const menu = {
  state: {
    menuVisible: false
  },
  mutations: {
    SET_MENU_VISIBLE(state, data) {
      state.menuVisible = data;
    }
  },
  actions: {
    setMenuVisible({ commit }, data) {
      commit("SET_MENU_VISIBLE", data);
    }
  }
};

export default menu;
